<?php
/* @var $this PeopleController */
/* @var $model People */
/* @var $form CActiveForm */
?>

<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'people-form',
	// Please note: When you enable ajax validation, make sure the corresponding
	// controller action is handling ajax validation correctly.
	// There is a call to performAjaxValidation() commented in generated controller code.
	// See class documentation of CActiveForm for details on this.
	'enableAjaxValidation'=>false,
)); ?>

	<p class="note">Fields with <span class="required">*</span> are required.</p>

	<?php echo $form->errorSummary($model); ?>

	<div class="row">
		<?php echo $form->labelEx($model,'name'); ?>
		<?php echo $form->textField($model,'name',array('size'=>60,'maxlength'=>100)); ?>
		<?php echo $form->error($model,'name'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'nickname'); ?>
		<?php echo $form->textField($model,'nickname',array('size'=>60,'maxlength'=>100)); ?>
		<?php echo $form->error($model,'nickname'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'preTitle'); ?>
		<?php echo $form->textField($model,'preTitle',array('size'=>60,'maxlength'=>100)); ?>
		<?php echo $form->error($model,'preTitle'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'postTitle'); ?>
		<?php echo $form->textField($model,'postTitle',array('size'=>60,'maxlength'=>100)); ?>
		<?php echo $form->error($model,'postTitle'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'gender'); ?>
		<?php echo $form->textField($model,'gender',array('size'=>60,'maxlength'=>100)); ?>
		<?php echo $form->error($model,'gender'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'birthDate'); ?>
		<?php echo $form->textField($model,'birthDate'); ?>
		<?php echo $form->error($model,'birthDate'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'birthPlace'); ?>
		<?php echo $form->textField($model,'birthPlace',array('size'=>60,'maxlength'=>100)); ?>
		<?php echo $form->error($model,'birthPlace'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'nationality'); ?>
		<?php echo $form->textField($model,'nationality',array('size'=>60,'maxlength'=>100)); ?>
		<?php echo $form->error($model,'nationality'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'religion'); ?>
		<?php echo $form->textField($model,'religion',array('size'=>60,'maxlength'=>100)); ?>
		<?php echo $form->error($model,'religion'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'matrimony'); ?>
		<?php echo $form->textField($model,'matrimony',array('size'=>60,'maxlength'=>100)); ?>
		<?php echo $form->error($model,'matrimony'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'bornSquence'); ?>
		<?php echo $form->textField($model,'bornSquence'); ?>
		<?php echo $form->error($model,'bornSquence'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'siblingTotal'); ?>
		<?php echo $form->textField($model,'siblingTotal'); ?>
		<?php echo $form->error($model,'siblingTotal'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'createAt'); ?>
		<?php echo $form->textField($model,'createAt'); ?>
		<?php echo $form->error($model,'createAt'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'updatedAt'); ?>
		<?php echo $form->textField($model,'updatedAt'); ?>
		<?php echo $form->error($model,'updatedAt'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'createdBy'); ?>
		<?php echo $form->textField($model,'createdBy'); ?>
		<?php echo $form->error($model,'createdBy'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'updatedBy'); ?>
		<?php echo $form->textField($model,'updatedBy'); ?>
		<?php echo $form->error($model,'updatedBy'); ?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton($model->isNewRecord ? 'Create' : 'Save'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- form -->